<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="login">
    <h1>添加员工</h1>
    <form action="/app/addemp/" method="post">

        {% csrf_token %}

        <p>
            员工编号:<input type="text" name="empno" id="empno" class="in">
        </p>
        <p>
            员工姓名:<input type="text" name="ename" id="ename" class="in">
        </p>
        <p>
            员工工作:
            <select name="job" style="width: 150px;font-size: 15px" >
              <option value ="清洁工">清洁工</option>
              <option value ="保姆">保姆</option>
              <option value="维修工">维修工</option>
            </select>
        </p>
        <p>
            员工工资:<input type="text" name="salary" id="salary" class="in">
        </p>

        <button type="submit" class="but">立即创建</button>

</form>
</div>>
<label id="error_msg" style="color: red">{{ error_msg }}</label>
<label id="success_msg" style="color:blue;">{{ success_msg }}</label>
</body>
</html>